#ifndef RENDERABLE_H
#define RENDERABLE_H

#include "Entity.h"
#include "SDL.h"

class Renderable : public Entity {
public:
	enum Direction {
		NONE,
		RIGHT,
		LEFT,
		TOP,
		BOTTOM
	};

	virtual ~Renderable() {}
	virtual void setTexture(SDL_Surface* texture) = 0;
	virtual SDL_Surface* getTexture() = 0;
	virtual void setClip(SDL_Rect clip) = 0;
	virtual SDL_Rect getClip() = 0;
	virtual void update(Uint32 delta) = 0;
	virtual void setDirection(Direction dir) = 0;
	virtual Direction getDirection() = 0;
	virtual void handleCollision(Direction dir) = 0; //handle a collision from the direction. (dir = LEFT means you hit something on your left)

private:

};

#endif